package com.kason.framework.regester;

import java.util.HashMap;
import java.util.Map;

/**
 * @author 卢清波
 * @date 2021/2/19 17:53
 */
public class LocalRegester
{
    static Map<String, Class> map = new HashMap<>();

    public static void regist(String interfaceName, Class implClass)
    {
        map.put(interfaceName,implClass);
    }

    public static Class get(String interfaceName)
    {
        return map.get(interfaceName);
    }
}
